package org.jeecg.modules.charge.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 票据类型
 * @Author: jeecg-boot
 * @Date:   2019-07-07
 * @Version: V1.0
 */
@Data
@TableName("charge_invoice_type")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="charge_invoice_type对象", description="票据类型")
public class ChargeInvoiceType {
    
	/**ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "ID")
	private java.lang.String id;
	/**票据类型代号*/
	@Excel(name = "票据类型代号", width = 15)
    @ApiModelProperty(value = "票据类型代号")
	private java.lang.String typeNum;
	/**票据类型名称*/
	@Excel(name = "票据类型名称", width = 15)
    @ApiModelProperty(value = "票据类型名称")
	private java.lang.String name;
	/**是否是定额发票,1是，0否*/
	@Excel(name = "是否是定额发票,1是，0否", width = 15)
	@Dict(dicCode = "is_or_not")
    @ApiModelProperty(value = "是否是定额发票,1是，0否")
	private java.lang.String isFixed;
	/**每本份数*/
	@Excel(name = "每本份数", width = 15)
    @ApiModelProperty(value = "每本份数")
	private java.lang.Integer everyNum;
	/**最大金额数*/
	@Excel(name = "最大金额数", width = 15)
    @ApiModelProperty(value = "最大金额数")
	private java.lang.Double maxMoney;
	/**发票种类:1:发票,2:收据*/
	@Excel(name = "发票种类:1:发票,2:收据", width = 15)
	@Dict(dicCode = "invoice_type")
    @ApiModelProperty(value = "发票种类:1:发票,2:收据")
	private java.lang.String paperSpecies;
	/**创建者*/
	@Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**更新者*/
	@Excel(name = "更新者", width = 15)
    @ApiModelProperty(value = "更新者")
	private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
	/**备注信息*/
	@Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
	private java.lang.String remarks;
	/**删除标记*/
	@TableLogic
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	private java.lang.String delFlag;
}
